writeValue

abstract fun writeValue(value: NSData, peripheral: CBPeripheral, withResponse: Boolean)

Request a CBPeripheral to write value to the characteristic

Parameters

value

the NSData to write to the characteristic

peripheral

the CBPeripheral to perform the write operation

withResponse

whether the write response is expected